package com.example.birdfriends.dao;

import com.example.birdfriends.pojo.read.Reader;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReadDao {
    public int insertReader(Reader reader);
    public List<Long> findReadersByPid(Long pid);
    public Long findReadUidByRid(Long rid);
    public List<Long> findUserReadPostIdList(@Param("uid") Long uid);
}
